home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000268_news@newsmaster….columbia.edu _Thu Feb 26 12:32:39 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA07201
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 26 Feb 1998 12:32:38 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA10689
for kermit.misc@watsun; Thu, 26 Feb 1998 12:32:38 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Can't change to that directory
Date: 26 Feb 1998 17:32:35 GMT
Organization: Columbia University
Lines: 49
Message-ID: <6d48vj$2ns$1@apakabar.cc.columbia.edu>
References: <6d455p$1u0$1@samba.rahul.net>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8460
In article <6d455p$1u0$1@samba.rahul.net>, <dold@network.rahul.net> wrote:
: I am running Kermit 95 1.1.15...
: On my PC, there are some scanned images in a directory
: D:\HP OfficeJet 500\images
:
File and directory names that contain spaces are a Very Bad Idea.
Yes, they are cute for GUIs when you can click on them, but they do not
mix well with text-mode programs in which commands are a series of
fields separated by spaces, and therefore are not very useful in open
environments using open methods of remote access, as opposed to closed,
proprietary GUI methods.
: From a Unix prompt
: SunOS foxtrot 4.1.3_U1 6 sun4c
: C-Kermit 6.0.192 Release Candidate 1, 6 Sep 96, for SunOS 4.1 (BSD)
:
: I tried
: kermit -g 'D:/HP OfficeJet 500/images/*'
:
The shell quoting succeeds in passing the filename to C-Kermit as a
single argument, but remember the GET command (or at least the underlying
protocol) lets you request several filenames at once. Thus the server
thinks you have given three file specifications instead of one.
Currently there is no mechanism in the Kermit protocol itself for
differentiating in a GET request packet between one filename with spaces
and multiple filenames. This will need to be addressed.
In the meantime, you will have to do the same thing with Kermit that you
do with all other text-based software when you want to cope with filenames
like this: learn some awkward quoting rules and apply them. In this case:
kermit -g 'D:/HP\\{32}OfficeJet\\{32}500/images/*'
: This looks like a bug that might have been addressed in 1.1.14-> 1.1.15,
: but that doesn't seem to work for me.
:
We do handle filnames with spaces in many other contexts, but currently not
in this one, except as shown above.
Solution 2: Use the FAT name.
: By the way, I like the new "GUI patch". Very nice, with one problem. As
: most windows products, warning windows pop up over the top of the message
: that you are being warned about.
:
No comment.
- Frank